package com.yan.jwt;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author huangjq
 * @ClassName: YbfUserBase
 * @Description: 用户中心用户信息类
 * @date 2017/6/14 13:58
 * @since 1.0
 */
public class YbfUserBase implements Serializable{

    private static final long serialVersionUID = 4432826779873597511L;
    /**
     * 用户id
     */
    private String id;

    private Short isExpert;

    private String password;

    private BigDecimal phoneNum;

    private String eMail;

    private String nickName;

    /**
     * 个人简介
     */
    private String indiProfile;

    /**
     * 擅长联赛
     */
    private String goodLeague;

    /**
     * @用户总金额
     */
    private Integer amount;

    /**
     * 状态  0:禁用， 1未激活， 2已激活；
     */
    private Short status;

    /**
     * 注册类型;  1用户名，2手机，3邮箱，4第三方登录
     */
    private BigDecimal regType;

    /**
     * 头像
     */
    private String imageSrc;

    public Short getIsExpert() {
        return isExpert;
    }

    public void setIsExpert(Short isExpert) {
        this.isExpert = isExpert;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public BigDecimal getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(BigDecimal phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getIndiProfile() {
        return indiProfile;
    }

    public void setIndiProfile(String indiProfile) {
        this.indiProfile = indiProfile;
    }

    public String getGoodLeague() {
        return goodLeague;
    }

    public void setGoodLeague(String goodLeague) {
        this.goodLeague = goodLeague;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public BigDecimal getRegType() {
        return regType;
    }

    public void setRegType(BigDecimal regType) {
        this.regType = regType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImageSrc() {
        return imageSrc;
    }

    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("YbfUserBase{");
        sb.append("id='").append(id).append('\'');
        sb.append(", isExpert=").append(isExpert);
        sb.append(", password='").append(password).append('\'');
        sb.append(", phoneNum=").append(phoneNum);
        sb.append(", eMail='").append(eMail).append('\'');
        sb.append(", nickName='").append(nickName).append('\'');
        sb.append(", indiProfile='").append(indiProfile).append('\'');
        sb.append(", goodLeague='").append(goodLeague).append('\'');
        sb.append(", amount=").append(amount);
        sb.append(", status=").append(status);
        sb.append(", regType=").append(regType);
        sb.append(", imageSrc='").append(imageSrc).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
